QUERY PLAN
GroupAggregate (cost=46.36..46.44 rows=4 width=12)
Group Key: parent_id
-> Sort (cost=46.36..46.37 rows=5 width=4)
Sort Key: parent_id
-> Seq Scan on tbl_tasks (cost=0.00..46.30 rows=5 width=4)
Filter: (parent_id = ANY ('{1675,1674}'::integer[]))