SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}Nürnberg{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}' OR prCity = 'Nürnberg' OR prZip = 'Nürnberg' OR prStreet LIKE '{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}Nürnberg{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}' OR prCountry = 'Nürnberg') AND (prLocation LIKE '{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}Germany{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}Germany{974c935f521e42c568b25f9d3decebefe666cc71ff56e9db2888e80bb4076017}' OR prCountry = 'Germany')