SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '34b85289e63465d8a4738c9ec43c2145c7b84a6d4be98d403facf349a86321d7' 
  AND token = 'M/DcgnTQdklWYslW0cERaav1Q3sauG3cmS6Gw23zBg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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