SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5745333df06dff04d32a4de1b8218eab6eda48d4ab39fb1a8ad4945ed4ff6515' 
  AND token = 'h8at2SnvZdvSMlrgrogK0ThsyX/k/zad/1rTrQ/eS2M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}