How should I isolate AC and DC on a small PCB?
A good starting point would be to use UL creepage and clearance guidelines.

If the LVDC and AC don't require galvanic isolation, you can use UL's guideline for functional insulation, which is 40V/mil or 1.6kV/mm. This should eliminate any potential risk of flashover between the HV and LVDC.