SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}Tecklenburg{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCity = 'Tecklenburg' OR prZip = 'Tecklenburg' OR prStreet LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}Tecklenburg{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCountry = 'Tecklenburg') AND (prLocation LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}/{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}/{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCountry = '/') AND (prLocation LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}Brochterbeck{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCity = 'Brochterbeck' OR prZip = 'Brochterbeck' OR prStreet LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}Brochterbeck{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCountry = 'Brochterbeck') AND (prLocation LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}Germany{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}Germany{28666c740da655ae131139469b6db1ee455f934bb22a4a546918a7b42aee87fb}' OR prCountry = 'Germany')