Reduced index length to work ok on mysql 5.6.