SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7cd2b9229bc4de9cf9ec1b993bd3a5e8784ff688c5675e5e44cdc0f2f2c6607' 
  AND token = 'HK8OQGDmdxTlev2E55vwOK8TFeGHtlMbJrBOCZCU/Oo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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