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