$languages = LanguageDescription::find()
->select([
'name',
'code'
])
->innerJoin('language', 'language.id = language_description.language_id')
->where(['LIKE', 'code', $query])
->orwhere(['LIKE', 'name', $query])
->all();