SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}Kirchen{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}' OR prCity = 'Kirchen' OR prZip = 'Kirchen' OR prStreet LIKE '{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}Kirchen{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}' OR prCountry = 'Kirchen') AND (prLocation LIKE '{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}(Sieg){6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}' OR prCity = '(Sieg)' OR prZip = '(Sieg)' OR prStreet LIKE '{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}(Sieg){6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}' OR prCountry = '(Sieg)') AND (prLocation LIKE '{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}Germany{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}Germany{6488a96ca695e958c1b1451083d2900b51a370d37b05cc1928476ee3bd10d500}' OR prCountry = 'Germany')