QUERY PLAN
Sort (cost=49.42..49.44 rows=8 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..49.30 rows=8 width=16)
Filter: (contract_id = ANY ('{4081,4085,4084,4080,2364,2216,2198,2114}'::integer[]))