These messages may still appear in Analytics reports without getting updated with the correct information, even after updating the MaxMind settings with a valid token and manually running the Refresh Lookups wizard from the Control Panel using the Update blank entries mode.
To solve the problem, use one of the two possible solutions:
DECLARE @empty_location UNIQUEIDENTIFIER; SET @empty_location = (SELECT TOP 1 [LocationId] FROM [Locations] WHERE [BusinessName] = '' AND [Country] = '');UPDATE [GeoIps] SET [CachedValue] = '', [Fetched] = 0, [Status] = 0 WHERE [CachedValue] LIKE '%<businessname>INVALID_LICENSE_KEY</businessname>%' OR [CachedValue] LIKE '%<businessname>LICENSE_EXPIRED</businessname>%' OR [CachedValue] LIKE '%<businessname>OUT_OF_QUERIES</businessname>%' GOUPDATE [Visits] SET [LocationId] = @empty_location, [BusinessName] = '', [City] = '' WHERE [BusinessName] = 'INVALID_LICENSE_KEY' OR [BusinessName] = 'LICENSE_EXPIRED' OR [BusinessName] = 'OUT_OF_QUERIES' GO