QUERY PLAN
Sort (cost=38.71..38.81 rows=37 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..37.75 rows=37 width=16)
Filter: (contract_id = ANY ('{4,3,2,1}'::integer[]))