QUERY PLAN
Sort (cost=86.32..86.37 rows=20 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..85.89 rows=20 width=16)
Filter: (contract_id = ANY ('{4501,4498,4499,4487,4485,4482,4477,4474,4475,4471,4472,4470,4473,4466,4465,4451,2364,2216,2198,2114}'::integer[]))