Add index to key column