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