QUERY PLAN
Sort (cost=51.68..51.70 rows=7 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..51.58 rows=7 width=16)
Filter: (contract_id = ANY ('{4485,4482,4477,4475,4474,4472,4466}'::integer[]))