SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c041a0120f76570f2eeddf6cb9b14f0b4368149002232ff95cdbab8b5da8355' 
  AND token = 'gfnFbDMRqP+Xh4Vn9sJxs76e+lzN2S2ZyUWUlUmaBI4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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