FilesMatch
is precisely what you can use. For example:
<FilesMatch "^(config\.inc\.php|config_smtp\.inc\.php)$">
Order allow,deny
Deny from all
</FilesMatch>
In this case the regex could be shortened a bit, eg. ^config(_smtp)?\.inc\.php$
to match the same two files as above.
Note that since you’re on Apache 2.4, you should be using mod_authz_host instead. For example:
<FilesMatch "^(config\.inc\.php|config_smtp\.inc\.php)$">
Require all denied
</FilesMatch>