QUERY PLAN
Sort (cost=57.34..57.34 rows=1 width=34)
Sort Key: id
-> Seq Scan on tbl_purchase_contract_invoices (cost=0.00..57.33 rows=1 width=34)
Filter: (contract_id = 4128)