SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eb877d6ec17cd80dbb81fb402173c244af42ee3c0832a01e15a3557f89057411' 
  AND token = 'ljHUjnqRftg7ZbhORS/fMRJN3uxvYj4KHDrb63xX3gM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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