QUERY PLAN
Sort (cost=56.28..56.30 rows=10 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..56.11 rows=10 width=16)
Filter: (contract_id = ANY ('{4079,3820,3806,3700,3535,3572,3513,3511,3505,2800}'::integer[]))