In recent years, Software-Defined Networking has been gradually applied to cloud gateways to provide efficient, reliable and flexible data transmission services for various large-scale cloud platforms. However, massive concurrent accessing produces huge network traffic from tenants to cloud platforms, which aggregates at cloud gateways and brings serious performance bottlenecks regarding packet classification. To solve this problem, this paper proposes an elastically accelerated lookup method of virtual SDN flow tables for software-defined cloud gateways. The method caches active exact flows in virtue of network traffic locality, enabling most packets to directly hit the cache and bypass tuple space search, which significantly accelerates flow table lookup. Focusing on network traffic jitters, the cache adaptively adjusts its capacity according to the dynamic changes of the number of active exact flows to maintain high cache hit rates, aiming to achieve elastic acceleration of flow table lookup. Furthermore, we theoretically derive the performance metrics of our proposed method such as cache hit rates, cache yield rates and average search length, based on the Zipf distribution model of network traffic. Eventually, we evaluate the performance of our proposed elastically accelerated lookup method by experiments with real network traffic traces. Experimental results indicate that our proposed method outperforms existing cache-accelerated methods with stable cache hit rates around 80% and the speedup of average search length up to 2.84 even under network traffic jitters.