SELECT * from dc_coupons WHERE approved="1" AND show_on_main="on" GROUP BY store ORDER by clicks DESC, uq_id LIMIT 0, 10