How can you add a foreach, server to a foreach to improve efficiency?

<?foreach ($restaurant_get_all->restaurants as $key) {?>
    /// 
    <?foreach ($region_get_all->regions as $key2) {?>
        <option value="<?=@$key2->{"region-name"};?>"><?=@$key2->{"region-name"};?></option> 
    <?}?>
    
<?}?>

how can such a busy foreach improve maximum efficiency?
these are the standing figures ~

Mar.01,2021

clipboard.png
the outer key is overwritten by the key inside

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e88f1e-f19.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e88f1e-f19.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?