  In this paper we provide mixed weak type inequalities generalizing previous
results in an earlier work by Caldarelli and the second author and also in the
spirit of earlier results by Lorente, Martell, P\'erez and Riveros. One of the
main novelties is that, besides obtaining estimates in the euclidean setting,
results are provided as well in spaces of homogeneous type, being the first
mixed weak type estimates that we are aware of in that setting.
