QUERY PLAN
Sort (cost=78.52..78.57 rows=22 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..78.03 rows=22 width=16)
Filter: (contract_id = ANY ('{4081,4080,4079,4077,4074,4072,4070,4069,4067,4066,4063,4062,4060,4059,4058,4057,4053,4052,4051,4045}'::integer[]))