QUERY PLAN
Sort (cost=55.06..55.09 rows=10 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..54.90 rows=10 width=16)
Filter: (contract_id = ANY ('{4122,4119,4108,4107,4103,4100,4093,4063,4051,4031}'::integer[]))