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