QUERY PLAN
Sort (cost=67.14..67.14 rows=1 width=35)
Sort Key: id
-> Seq Scan on tbl_purchase_contract_invoices (cost=0.00..67.12 rows=1 width=35)
Filter: (contract_id = 4463)