You cannot "declare" that symbol t
represents a real number with Element[t, Reals]
. You must feed the logical assertion to the function that needs to know it as an assumption.
Assuming[Element[t, Reals], LaplaceTransform[UnitStep[t - 1]*Cos[t], t, s]]
On my machine, the assumption appeared to improve the timing, but then I reevaluated the original, and it was faster, too, so the improvement was apparently just from Mathematica's caching mechanisms rather than the assumption.