SONAR-5623 fix index on mysql