QUERY PLAN
Sort (cost=79.72..79.77 rows=20 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..79.29 rows=20 width=16)
Filter: (contract_id = ANY ('{4141,4133,4128,4127,4126,4124,4123,4122,4121,4119,4115,4110,4108,4107,4104,4103,4102,4101,4098,4100}'::integer[]))