In Romer v. Evans, as early as 1996, the USSC ruled that the ONLY REASON to single out homosexual speech or conduct, AS SUCH, was "irrational animus" (hatred or fear).
Since that is now the law of the land (I do not agree that the USSC decisions amend the Constitution, but that is their practical effect), it may very well be that the Florida law will be overturned.
But we keep losing because we do not seek root causes. The existence of a "protected class" based on sexual behavior is the root cause of Romer, of the gay marriage cases, and many others.
If you can't change THAT, no law to enforce community standards or community preferences will ever be found Constitutional again.
But legally speaking, would courts rule that somehow this idea of protected classes applies to discussions or curriculum in school? That could be a key issue, legally speaking, because this law applies only to schools and only to certain grade levels.
Stay tuned. I know the liberals yet again, turn to the courts to get their way, when things don’t go their way in the legislative process.