QUERY PLAN
Sort (cost=86.18..86.23 rows=20 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..85.75 rows=20 width=16)
Filter: (contract_id = ANY ('{4449,4448,4384,4382,4342,4340,4225,4175,4051,3973,3774,3766,3707,3654,3568,3557,3394,3283,3106,3091}'::integer[]))