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