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