QUERY PLAN
Sort (cost=43.47..43.48 rows=1 width=28)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..43.46 rows=1 width=28)
Filter: (contract_id = 2909)