QUERY PLAN
Sort (cost=49.02..49.04 rows=6 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..48.94 rows=6 width=16)
Filter: (contract_id = ANY ('{4501,4475,4463,1213,1234,1018}'::integer[]))