Use DISTINCT ON/DISTINCT rather than GROUP BY for admin/products query