@Nullable
        protected static DBExtension load(final SQLiteDatabase db, final DBExtensionType type, @NonNull final String key) {
            return withAccessLock(() -> {
                checkState(type, key, false);
                try (Cursor cursor = db.query(dbTableExtension,
                        new String[]{"_id", "_key", "long1", "long2", "long3", "long4", "string1", "string2", "string3", "string4"},
                        "_type = ? AND _key LIKE ?",
                        new String[]{String.valueOf(type.id), key},
                        null, null, "_id", "1")) {
                    if (cursor.moveToNext()) {
                        return new DBExtension(cursor.getLong(0), cursor.getString(1), cursor.getLong(2), cursor.getLong(3), cursor.getLong(4), cursor.getLong(5), cursor.getString(6), cursor.getString(7), cursor.getString(8), cursor.getString(9));
                    }
                }
                return null;
            });
        }
get the first entry for this key
main/src/main/java/cgeo/geocaching/storage/DataStore.java