Hardware-efficient and fast three-qubit gate in superconducting quantum circuits