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