QUERY PLAN
GroupAggregate (cost=379.78..380.14 rows=18 width=36)
Group Key: work_log_id
-> Sort (cost=379.78..379.82 rows=18 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..379.40 rows=18 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (work_log_id = ANY ('{36495,35273,35173,35159,35128,35036,34655,34026,33812,33724,32295,32200,32067,26377,25764,25624}'::integer[])))