SELECT sd.param_id, sd.param, q_static_data_descriptions.descr, sd.param_2, sd.param_3, sd.param_4, sd.param_5, sd.status, sd.position, sd.parent_id, sd.id_path, sd.class, q_static_data_descriptions.abt__yt_mwi__desc, q_static_data_descriptions.abt__yt_mwi__text, q_static_data_descriptions.abt__yt_mwi__label, sd.abt__yt_mwi__status, sd.abt__yt_mwi__text_position, sd.abt__yt_mwi__dropdown, sd.abt__yt_mwi__label_color, sd.abt__yt_mwi__label_background FROM q_static_data AS sd LEFT JOIN q_static_data_descriptions ON sd.param_id = q_static_data_descriptions.param_id AND q_static_data_descriptions.lang_code = 'en' WHERE sd.section = 'A'  AND sd.status = 'A' AND sd.param_5 = '3' ORDER BY sd.position

Query is invalid

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "27.78"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "5.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "sd",
            "access_type": "ALL",
            "possible_keys": [
              "section"
            ],
            "rows_examined_per_scan": 68,
            "rows_produced_per_join": 4,
            "filtered": "7.35",
            "cost_info": {
              "read_cost": "15.78",
              "eval_cost": "1.00",
              "prefix_cost": "16.78",
              "data_read_per_join": "29K"
            },
            "used_columns": [
              "param_id",
              "param",
              "param_2",
              "param_3",
              "param_4",
              "param_5",
              "class",
              "section",
              "status",
              "position",
              "parent_id",
              "id_path",
              "abt__yt_mwi__status",
              "abt__yt_mwi__text_position",
              "abt__yt_mwi__dropdown",
              "abt__yt_mwi__label_color",
              "abt__yt_mwi__label_background"
            ],
            "attached_condition": "((`portal`.`sd`.`section` = 'A') and (`portal`.`sd`.`status` = 'A') and (`portal`.`sd`.`param_5` = '3'))"
          }
        },
        {
          "table": {
            "table_name": "q_static_data_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "param_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "portal.sd.param_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 4,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "5.00",
              "eval_cost": "1.00",
              "prefix_cost": "22.78",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "param_id",
              "lang_code",
              "descr",
              "abt__yt_mwi__desc",
              "abt__yt_mwi__text",
              "abt__yt_mwi__label"
            ]
          }
        }
      ]
    }
  }
}