QUERY PLAN
Sort (cost=75.69..75.72 rows=12 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..75.48 rows=12 width=22)
Filter: (purchase_invoice_id = ANY ('{1759,1801,1810,1983,2092,2149,2344,2507,2548,2724}'::integer[]))