SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de1e87cfb5cd17c9a51af43560ab656adc06320dbddc0e1e6cba75f35ecf33e6' 
  AND token = 'QcwwaRTKeCzM/GqCVlnGnN2RyUNHvk3KsuXlTis8A4c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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