QUERY PLAN
GroupAggregate (cost=294.81..294.95 rows=7 width=36)
Group Key: work_log_id
-> Sort (cost=294.81..294.83 rows=7 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..294.71 rows=7 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (work_log_id = ANY ('{38041,38039,38038,16788,15336,15298}'::integer[])))