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