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