SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb4df9c2027415010bca4e09945633b218b29e63f4b44b7a45abd3435fb2870a' 
  AND token = 'd/+QHZcWP/gQ+/I85jWzxl1Q4GqMLL54aPyZx9cVJ4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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