SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}Regensburg{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCity = 'Regensburg' OR prZip = 'Regensburg' OR prStreet LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}Regensburg{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCountry = 'Regensburg') AND (prLocation LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}/{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}/{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCountry = '/') AND (prLocation LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}Wutzlhofen{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCity = 'Wutzlhofen' OR prZip = 'Wutzlhofen' OR prStreet LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}Wutzlhofen{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCountry = 'Wutzlhofen') AND (prLocation LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}Germany{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}Germany{9ae2fad2bab3cf5e719fc333580b612d6a8b507ed1d6fcb8c464d59e4e51e9d6}' OR prCountry = 'Germany')