Ah, keto may well have brought it on. I’ve done keto myself a couple of times but generally got my protein from cheese, white meat and fish rather than red meat. So maybe shift your choices for a while and see if that helps.
Bad luck. I suffered from gout over a period of about 10 years but haven’t had an attack for 7 years or so, so hoping that might be it. It’s hard to offer advice because, as this thread shows, it affects people in different ways. Personally, I found that attacks were more likely after too much...