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