QUERY PLAN
Sort (cost=39.47..39.48 rows=2 width=34)
Sort Key: id
-> Seq Scan on tbl_sales_contract_payments (cost=0.00..39.46 rows=2 width=34)
Filter: (contract_id = ANY ('{3364,3844}'::integer[]))