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