SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c47ade0660f33fba9f8bafc7f3930d36100a65f9d2a6db4c336f8492e945805' 
  AND token = 'SD793aTUWuPsSaFSTT7Ne5koEaH64VgxynlyRD93l5c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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