SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8aa175615d2739802e17a3badbca54778e1b236013176865b3d5bd768f719b33' 
  AND token = 'QtG+rxb7+Fe/tJaGr5IJdE22LYLaRgjsr47umYrSBis=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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