QUERY PLAN
Sort (cost=60.57..60.58 rows=1 width=35)
Sort Key: id
-> Seq Scan on tbl_purchase_contract_invoices (cost=0.00..60.56 rows=1 width=35)
Filter: (contract_id = 4251)