Need help with WP Query

I need a help with a query. If I have two custom fields called _sfm_wpcf-ads-profession and _sfm_wpcf-job-profession. How can I get those posts when the values of these two fields are same?