Question regarding DNS records

Firstly, i created a "A" record which points to my server IP ( lets call it example.com )
Then i created a wilcard "CNAME" record with Name value as "*" and target as "example.com" so that every "subdomain.example.com" also resolves to my server. The Proxy status is on for both these dns records.
But i need say "subdomain5" to have the proxy status off. So i created a CNAME record with Name as "subdomain5" and Target as "example.com" with proxy status off

Now my question is will this subdomain5 work with proxy status off overriding the wildcard CNAME record ?
If not, how can i achieve something like this
Was this page helpful?