SELECT DISTINCT(brand) from products WHERE active=1 AND brand!="" AND id IN ()