Prevent HTTPS Redirection on a single PHP File using .htaccess in WordPress

The website URL in WordPress is http://example.com. The website is auto-redirected to https://example.com. I need to prevent HTTPS redirection of http://example.com/akvalidate.php only

I have added the following to .htaccess but it does not work. It keeps fetching the https version.The website is having LiteSpeed cache turned on.

RewriteEngine on
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^akvalidate.php$ http://example.com/akvalidate.php? [R=301,L]