SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db9ed858e5e08d19ad85b2f5669c3589e5b120b5a231507298eb668b23e9b06f' 
  AND token = 'ww702x7GN+K06EkBMQzp2kXc5/gCfpGpC4h6uEctiYE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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