SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7866140a11bd62b21b6ac365a63aea727959e9ba6336fce1041ab87f48161a68' 
  AND token = 'uFKnpbUQ03BgOlq4aBUXibGXM9EwfpBhl0qsuZPWDhA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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