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