[TASK] Follow-up: Typo3DbQueryParser must handle LowerCase

Add a test for preparse query hash.

Resolves: #57263
Releases: 6.2
Change-Id: Ia524b65f5ef559822c62df1f53c0e78c4750f01e
Reviewed-on: https://review.typo3.org/28764
Reviewed-by: Markus Klein
Tested-by: Markus Klein