In this study with a sample size of 120 participants, block permutation randomization will be used for allocation. Given that there are four study groups, participants are initially divided into two categories: groups A and B, with group A representing groups 1 (fentanyl) and 2 (dexmedetomidine), and group B representing groups 3 (magnesium sulfate) and 4 (control). Each block consists of four participants, with six possible arrangements: BBAA, AABB, ABAB, BABA, ABBA, and BAAB. The sequence of blocks will be determined randomly using the Random Allocation Software by selecting numbers from 1 to 6. For example, if block 6 (BAAB) and then block 2 (AABB) are selected, the allocation order for enrolled participants will be BAABAABB. In the second stage, each category (A and B) will be further randomized into its two subgroups, ensuring that each participant is ultimately assigned to one of the four main study groups. Thus, in this method, the letter A initially stands for groups 1 and 2, and B for groups 3 and 4; subsequently, members of each letter group are randomly allocated to one of their respective subgroups, resulting in a final allocation to one of the four study arms.