QUERY PLAN
Sort (cost=44.21..44.23 rows=5 width=34)
Sort Key: id
-> Seq Scan on tbl_sales_contract_payments (cost=0.00..44.16 rows=5 width=34)
Filter: (contract_id = ANY ('{3543,3731,3732,2993}'::integer[]))