speed up active_issue query for brand_groups