Find Operation are costly operations try to avoid them. Make a public List and assign you buttons to that List and then iterate the list.
public List<GameObject> allButton; // it will show in your inspector assign (Drag and Drop) all your buttons to this list.
public void ShowAllButtons(){
for(int index=0; index < allButton.Count; index++ ){
allButton..SetActive(true);
}
}