SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}Niederkirchen{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}' OR prCity = 'Niederkirchen' OR prZip = 'Niederkirchen' OR prStreet LIKE '{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}Niederkirchen{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}' OR prCountry = 'Niederkirchen') AND (prLocation LIKE '{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}Germany{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}Germany{b00a258b6253a3f39f7ebdd53eca568e8fbfe533cbd1cf0415acdd0c68f2d549}' OR prCountry = 'Germany')