SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}Neubiberg{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}' OR prCity = 'Neubiberg' OR prZip = 'Neubiberg' OR prStreet LIKE '{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}Neubiberg{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}' OR prCountry = 'Neubiberg') AND (prLocation LIKE '{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}Germany{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}Germany{8af7506d76e6a6c77a1201bbd19127f40f31ce49fe613fd0cf7f579d8061fb21}' OR prCountry = 'Germany')