QUERY PLAN
Seq Scan on tbl_task_group_head_of_relationships (cost=0.00..9.72 rows=6 width=12)
Filter: ((user_id = 1001) AND (task_group_id = ANY ('{86,85,84,83,82,80,79,78,77,76,75,74,73,72,71,70,69,68,67,65}'::integer[])))