SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}Wallenhorst-Lechtingen{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}' OR prCity = 'Wallenhorst-Lechtingen' OR prZip = 'Wallenhorst-Lechtingen' OR prStreet LIKE '{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}Wallenhorst-Lechtingen{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}' OR prCountry = 'Wallenhorst-Lechtingen') AND (prLocation LIKE '{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}Germany{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}Germany{265ed3ec85c2671e59eae082067ccd2a6f92f6e5707abbe83ab39efdf6bb67a4}' OR prCountry = 'Germany')