Exploring the faintest end of mid-infrared luminosity functions up to z ≃ 5 with the JWST CEERS survey | Synapse