Can you sit in a cafe and study?
How long is it okay to sit in a cafe?
As long as there are plenty of other seats and you have purchased coffee, then you can stay as long as you want. If it starts to fill up though and you've already been there a while, I would suggest leaving soon as it's impolite to sit for so long when other new customers may be waiting.