SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17ddae9f4caad483a31e30b3e7734a05088c70860ed80faf28ea2c316de9d52f' 
  AND token = 'JEtymVvNAlpuHlWNVEzy+DNLz2Kv9KoR18P36rPER7E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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