SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}Bad{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}Bad{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}' OR prCountry = 'Bad') AND (prLocation LIKE '{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}Godesberg{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}' OR prCity = 'Godesberg' OR prZip = 'Godesberg' OR prStreet LIKE '{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}Godesberg{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}' OR prCountry = 'Godesberg') AND (prLocation LIKE '{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}Germany{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}Germany{5b4e5f789e8341c4a30a77f8d159e70e09cf916ae2749ec1961cec60ef72354a}' OR prCountry = 'Germany')