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,4127,4126,4123,4122,4115,4110,4103,4102,4101,4098,4088,4085,4090,4081,4077,4076,4075,4070}'::integer[]))