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