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