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