QUERY PLAN
Sort (cost=42.93..42.94 rows=1 width=26)
Sort Key: id
-> Seq Scan on tbl_sales_contract_invoices (cost=0.00..42.92 rows=1 width=26)
Filter: (contract_id = 4075)