SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edef53e4781db947e3e02e4bf55b2e9c391936ae754637a22c8db0f538a6b641' 
  AND token = 'nXYaNYBIPqR2VBbCdfTTYYhINgtstK3VrT/U5kv54OU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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