QUERY PLAN
Sort (cost=50.19..50.22 rows=10 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..50.03 rows=10 width=16)
Filter: (contract_id = ANY ('{3818,3817,3814,3810,3813,3806,3804,3802,3801,3800}'::integer[]))