QUERY PLAN
Sort (cost=34.49..34.49 rows=3 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..34.46 rows=3 width=16)
Filter: (contract_id = ANY ('{3849,3848,3847}'::integer[]))