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