SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49ab77d64bc7258e478258d8d63109c882f6c7baf6818fd926a2a2e549734bac' 
  AND token = 'nUfzErf974GBBjofvMXx8VWCcyH1WhYmKNb3rjb87wM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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