If your soil needs magnesium, then adding Epsom salts may be a helpful treatment ... ensure that tomato plants have adequate levels to produce chlorophyll efficiently, preventing yellow leaves.
Mosaic virus is likely the cause of shrunken, twisted and curled leaves. The most effective treatment ... traps like yellow sticky traps. Hornworms are gigantic green worms on your tomato stems ...