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