QUERY PLAN
Sort (cost=50.72..50.73 rows=5 width=29)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..50.66 rows=5 width=29)
Filter: (contract_id = 2148)