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