Unexpected degradation of performance in SPARQL query when xsd:DateTime is used instead of String

The are some SPARQL Query Optimization Pragmas you could try but they are not guaranteed to change the behaviour.