QUERY PLAN
Seq Scan on tbl_purchase_contract_invoices (cost=0.00..71.05 rows=1 width=4)
Filter: (contract_id = 3850)