SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4c2a6fd60210081f207cf06a342674cd35657b4939c56c1b971354cbc219660' 
  AND token = 'Jfo0tgOu9yoVDH457atZaUvUNYnJ/E5a+baYNIrzNpk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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