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