SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42ab8b23b544e34050e81619a61f119a83e9562260fddac0d2b72d809747e672' 
  AND token = 'cSCjjQP9Nv2P38/Mh74+qunL0WaRaFON8rM6EG/U1rI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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