QUERY PLAN
Sort (cost=59.29..59.30 rows=5 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..59.23 rows=5 width=22)
Filter: (purchase_invoice_id = ANY ('{408,414,1446,1488,2341}'::integer[]))