“Then they will hand you over.” Jesus will speak of this terrible time during the Great Tribulation again at the Last Supper (John 16:2).
“tortured.” The Greek is thlipsis (#2347 θλῖψις), and it refers to outward trouble that inflicts distress; oppression; affliction; tribulation; and also the inward experience of distress, affliction, or trouble (BDAG Greek-English lexicon). It was common practice to torture prisoners in the first century, and in this case the fact that believers would be handed over to thlipsis clearly means torture. Two thousand years after Matthew was written, we humans have not become any more civilized, and torture is common practice all over the world. It will be even worse after the Rapture, which is why Revelation 14:13 says that those who die in the Lord (i.e., without remaining unconverted or renouncing the Faith) will be blessed.
“you will be hated by all the nations.” The Greek word translated as “nations” is ethnos (#1484 ἔθνος), and it is translated as “group” in Matthew 24:7, and it arguably should be translated that way here. In the Last Days, believers will be hated by everyone. There will be such widespread ungodliness and wickedness that every different group will have a reason to hate believers.