QUERY PLAN
GroupAggregate (cost=50.38..50.40 rows=1 width=12)
Group Key: source_id
-> Sort (cost=50.38..50.39 rows=1 width=4)
Sort Key: source_id
-> Seq Scan on tbl_source_refuse_logs (cost=0.00..50.38 rows=1 width=4)
Filter: ((user_id = 1001) AND (source_id = ANY ('{588,585,584,583,374,370,368,128,90}'::integer[])))