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