SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}Bad{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}Bad{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}' OR prCountry = 'Bad') AND (prLocation LIKE '{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}Honnef{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}' OR prCity = 'Honnef' OR prZip = 'Honnef' OR prStreet LIKE '{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}Honnef{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}' OR prCountry = 'Honnef') AND (prLocation LIKE '{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}Germany{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}Germany{11783c199c5d2def6e1a3f5c45bb0c45741691c7699d2ce46848ab0521e7b181}' OR prCountry = 'Germany')