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