I have the following query, which takes on average about 4 seconds. How might one improve the query such that the same response comes back faster?
SELECT * FROM geometries g ORDER BY ST_Distance(g.wkb_geometry, ST_SetSRID(ST_Point(-77.8252923, 39.4328016), ST_SRID(g.wkb_geometry))) LIMIT 1
(I understand that this actually finds the nearest geometry to a point, which is the same as the geometry in which the point falls unless the point doesn't fall in any geometry. I'm open to seeing other approaches as well.)