MOSFET with 5 V logic, 24 V VDS / VGSS
The main search criteria for your Nch low side switch is 5V Vgs so for low RdsOn est. Vgs>3x Vgs(th) which means Vgs(th) &lt;5V/3 ~ 1.7V max

It is usually called a "logic level" FET drive as opposed to the older styles with Vgs(th) = 2 to 4V threshold and prefer a drive voltage >=9V

Vgss should not be a problem.

If you want a Pch High Side switch then Vgs will end up being 24V and then a different driver is needed such as open collector.