QUERY PLAN
HashAggregate (cost=1.34..1.41 rows=7 width=12)
Group Key: punch_strategy_id
-> Seq Scan on tbl_punch_strategy_resource_rels (cost=0.00..1.30 rows=7 width=8)
Filter: (user_id = ANY ('{5295,5087,1004,1005,5476,5332,5300}'::integer[]))