Added an index for cid and folder_id columns to subscriptions table