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