SELECT id, ort, fachwort, (
6368 * SQRT(2*(1-cos(RADIANS(lng)) *
cos(0.23502760786988) * (sin(RADIANS(lat)) *
sin(0.84777937245638) + cos(RADIANS(lat)) *
cos(0.84777937245638)) - sin(RADIANS(lng)) * sin(0.23502760786988)))) AS entfernung
FROM literatur WHERE
6368 * SQRT(2*(1-cos(RADIANS(lng)) *
cos(0.23502760786988) * (sin(RADIANS(lat)) *
sin(0.84777937245638) + cos(RADIANS(lat)) *
cos(0.84777937245638)) - sin(RADIANS(lng)) * sin(0.23502760786988))) <= 25
ORDER BY entfernung