SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0fd7785c377d678385cc69902111c5ba7704ea0cca990ea8460960726936785b' 
  AND token = 'G7dp637up4LcO/dMQHih5c3dhzMzFUKKCxhDpY1Uuyw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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