SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}Hagen{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCity = 'Hagen' OR prZip = 'Hagen' OR prStreet LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}Hagen{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCountry = 'Hagen') AND (prLocation LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}/{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}/{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCountry = '/') AND (prLocation LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}Vorhalle{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCity = 'Vorhalle' OR prZip = 'Vorhalle' OR prStreet LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}Vorhalle{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCountry = 'Vorhalle') AND (prLocation LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}Germany{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}Germany{d3acbfc781757a367053ad141ad52a163fca0b8b909139b6cc3601429a2cbe78}' OR prCountry = 'Germany')