The valve ticking noise is due to the original switchable hydraulic lash adjusters used on cylinder #1 and #4 are failing IMO. It’s a common problem on the 2.5L NA with cylinder deactivation and Mazda has revised those switchable HLA’s used for CD to fix the issue. See the TSB:
2018 CX-5 GT...