QUERY PLAN
Seq Scan on tbl_task_group_head_of_relationships (cost=0.00..7.55 rows=2 width=12)
Filter: ((task_group_id = ANY ('{188,189}'::integer[])) AND (user_id = 1000))