Hi AlwaysDisturbed,
We'd like to help guide you in the best direction to help. Looking over Use Do Not Disturb with Focus on your iPhone or iPad, there are several settings and adjustments that could be made that we suggest looking over.
For example, if you're using Do Not Disturb specifically, go to Settings > Focus > Do Not Disturb > Focus Filters > Add Filter > Messages. From there, you can enable "Filter by People List", which will only allow notifications from People added in Settings > Focus > Do Not Disturb > People. You can read more about that in: Use Focus on your iPhone or iPad - Apple Support
We'd also recommend blocking, filtering, and reporting those spam messages to help reduce the frequency of any you may be receiving: Block, filter, and report messages on iPhone - Apple Support
There are additional options that we may have available if the steps above don't work. Just let us know the results, and we'll proceed from there.
Thanks for using Apple Support Communities.