add index to key table columns