SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23638230139a3f112e5c0f8ba598f61b6e7411ef0687807fa4e77d578de660e4' 
  AND token = 'n5XU/GLE3gISPwY9h1MGFbXRAplXca0tNYAljtSTUl0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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