SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5594bbfdca27b0a9294611bb674b7275286e58ecc78106503279c6fb04d097c2' 
  AND token = '6pPq3roTwl2SybMdBn37+vpKaJ+lY+6pkBDlNAEUxAE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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