Any master right-of-way agreement for mini cell executed by and between a small cell wireless provider and the city that is effective and not terminated prior to the effective date of this article, shall remain in effect until its expiration or earlier termination as provided therein, to the extent permissible by law.