SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}Grein{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}' OR prCity = 'Grein' OR prZip = 'Grein' OR prStreet LIKE '{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}Grein{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}' OR prCountry = 'Grein') AND (prLocation LIKE '{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}Austria{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}Austria{968036bc2c7d3e65f6b5851737a55de29eb867bf43582bd87c6c24ea34222a4f}' OR prCountry = 'Austria')