SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7212b96afaec138c6049f111a945f575a65b9c5dffaedfc60f85c27bef2decf1' 
  AND token = 'yTdwgsnO348YkRA5LEEYPghJprUubiLPGjCUZVpyAqQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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