SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '008e62ca82248cc4659be546cf50c58d1a0c44709d23acce85adc2c34d755918' 
  AND token = 'giFVNCBw8Vj54W4DKpiIUuJISosQ27HmNlNMM95v7WU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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