QUERY PLAN
Seq Scan on tbl_tasks (cost=0.00..46.30 rows=47 width=196)
Filter: ((parent_id IS NULL) AND (task_group_id = ANY ('{106,86}'::integer[])))