Are mechanical relay signal pins isolated from the output?
If "MPC250D6Z05APT" is this one's 24V version, then the schematic on the label shows that the coil is insulated from the contacts, as is normally the case with a relay.



The datasheet should specify the maximum voltage the isolation can withstand. Buuuuuttt... since this is aliexpress... whether there is a datasheet, or if it corresponds to the product being sold, or if it can be trusted... are all left as an exercise to the reader...