QUERY PLAN
Sort (cost=86.18..86.23 rows=20 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..85.75 rows=20 width=16)
Filter: (contract_id = ANY ('{4471,4470,4465,4464,4463,4461,4459,4458,4456,4452,4451,4449,4447,4445,4441,4440,4439,4438,4435,4432}'::integer[]))