OsmAnd has support for opening hours. When you search for POIs, it will show whether they are open at that moment and whether you might arrive there before closing time.