QUERY PLAN
Sort (cost=79.75..79.80 rows=21 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..79.29 rows=21 width=16)
Filter: (contract_id = ANY ('{4141,4133,4122,4103,4098,4056,4000,3987,3982,3969,3936,3917,3903,3902,3901,3863,3804,3769,4118,3756}'::integer[]))