QUERY PLAN
Sort (cost=47.00..47.02 rows=7 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..46.91 rows=7 width=16)
Filter: (contract_id = ANY ('{4079,4077,4072,2364,2216,2198,2114}'::integer[]))