SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '040472f62992ee3daab56e80be7b15dddbace56f5565b86d6a69a6dcbe8991d4' 
  AND token = 'WDpwGH1Mh669SrddiySoPekdyNvN9504sbVwl9MHxjU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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