QUERY PLAN
GroupAggregate (cost=343.41..343.63 rows=11 width=36)
Group Key: work_log_id
-> Sort (cost=343.41..343.44 rows=11 width=9)
Sort Key: work_log_id
-> Seq Scan on tbl_reimbursements (cost=0.00..343.22 rows=11 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (work_log_id = ANY ('{21551,20700,19578,19475,18718,18220,17730,17462,17033,16787}'::integer[])))