QUERY PLAN
Sort (cost=47.68..47.70 rows=7 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..47.58 rows=7 width=16)
Filter: (contract_id = ANY ('{4143,4142,4087,4072,4042,4041,4025}'::integer[]))