QUERY PLAN
Sort (cost=45.70..45.72 rows=8 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..45.58 rows=8 width=16)
Filter: (contract_id = ANY ('{3849,3848,3847,3834,2364,2216,2198,2114}'::integer[]))