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 ('{3852,3851,3850}'::integer[]))