How do you handle the background noise there? I used to struggle with that until I got some cheap wired headphones. Just having that physical barrier helps me zone in. The change of scenery from my couch makes a huge difference too. Something about being around other quiet people working just puts me in the right headspace.
My local library has these big windows that let in natural light, and it totally changes my mood. @rowanp71 is onto something about the KEY being the environment, but for me, it's the lack of choices. At home, I debate where to sit or what snack to get, but here, I just set up and go. That mental clarity is HUGE for getting things done.