QUERY PLAN
Seq Scan on tbl_task_group_head_of_relationships (cost=0.00..9.72 rows=4 width=12)
Filter: ((user_id = 1001) AND (task_group_id = ANY ('{204,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,178,141,140}'::integer[])))