QUERY PLAN
GroupAggregate (cost=73.76..73.78 rows=1 width=12)
Group Key: source_id
-> Sort (cost=73.76..73.77 rows=1 width=4)
Sort Key: source_id
-> Seq Scan on tbl_source_refuse_logs (cost=0.00..73.75 rows=1 width=4)
Filter: ((user_id = 1001) AND (source_id = ANY ('{585,584,583,581,580,579,578,577,576,575,574,573,572,571,570,569,568,567,566,565}'::integer[])))