QUERY PLAN
GroupAggregate (cost=51.34..51.39 rows=3 width=12)
Group Key: parent_id
-> Sort (cost=51.34..51.34 rows=3 width=4)
Sort Key: parent_id
-> Seq Scan on tbl_tasks (cost=0.00..51.31 rows=3 width=4)
Filter: ((status = 1) AND (parent_id = ANY ('{1392,1425,1426}'::integer[])))