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 ('{4463,4447,4376,4374,4350,4293,4295,4250,4240,4145,4136,4122,4103,4098,4017,4056,4000,3969,3936,3917}'::integer[]))