SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '80649c91c4b31130ce85799412c08a86cfaa031ae12fd132b86a67c7ab1750e8' 
  AND token = 'Q8mS1ZsgcYt5seMe7AdXlpANM2Xio8VFo/KUWcH3Vvc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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