QUERY PLAN
Sort (cost=36.73..36.73 rows=4 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..36.69 rows=4 width=16)
Filter: (contract_id = ANY ('{3852,3850,3849,3848}'::integer[]))