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