On finite algebras of prime dimension without subalgebras