QUERY PLAN
Sort (cost=72.70..72.75 rows=20 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..72.27 rows=20 width=16)
Filter: (contract_id = ANY ('{3834,3832,3828,3826,3825,3824,3823,3821,3820,3819,3818,3817,3814,3810,3813,3806,3804,3802,3801,3800}'::integer[]))