SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5524bdd491a77440a4be909fe7b05384ce7e990493c1864b41215983ceca786a' 
  AND token = 'aHDTfMMRXTlVDyFnODMkqHoM3vsrbcNn21SOR5IwUDA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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