Using MySQL, cleaned database attributes and indexes