QUERY PLAN
Sort (cost=75.64..75.67 rows=10 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..75.48 rows=10 width=22)
Filter: (purchase_invoice_id = ANY ('{2611,2653,2660,2665,2731,2736,2740,2749,2753,2756}'::integer[]))