Data-driven informative priors for Bayesian inference with quasi-periodic data