SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ae5b066e8ca3c2ab2762b4aa8c461afd1fc6cd47ab61c2659b87bb7d383efa9' 
  AND token = 'YpF3IiqM4DvmJq/klQnwQuOWVuVFE/oaWH5Mkt8Ojns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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