SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c068e8af36c4db799c0f3716f0bf62e0aaee9bf762d49a50435ce54bef6b109' 
  AND token = 'VnTOW/9FBDPP0Cqe+nkfy+SDBgCKKnIfY8+Gc3bexo8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}