Fix index in mysql