QUERY PLAN
Sort (cost=59.66..59.69 rows=10 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..59.50 rows=10 width=16)
Filter: (contract_id = ANY ('{4499,4498,4487,4485,4482,4477,4475,4474,4473,4472}'::integer[]))