Edit: I spoke too soon.
I am still getting the "Cannot Connect To The App Store" on the Home Screen which is the "Features" tab. The other tabs; Top Charts, Categories, Purchased and Updates seem to be populating fully with images etc. They did not at first, but after turning protection off, opening app store, closing app store, turning protection on and restarting the iMac, it seems to work properly with the exception of the first screen "Featured" which shows "Cannot Connect To The App Store"
Though I am happy with the improvement with the lates KIS version 20.0.0.829a
I had the same problem in not being able to access the App Store on my 2011 iMac running High Sierra. The problem began a few days back. After countless fix attempts, to no avail, with the help Uncle Google, I finally thought that maybe Kaspersky Internet Security is the culprit. When I disabled it, the App store finally worked.
Then I found this discussion, upgraded to 20.0.0.829a and it now is working fine.
Thanks to everyone on this thread!