SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3e13b8234450a5fc975a6d2e42337cb53e30caa9d632d14213fa6976576216f' 
  AND token = 'zmxv5KdKih8JQot0ah08EXEQj7frU4eBYpdt/JSSxes=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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