SELECT 
  * 
FROM 
  cscart_bm_locations as l 
  LEFT JOIN cscart_bm_locations_descriptions as d ON d.location_id = l.location_id 
  AND d.lang_code = 'en' 
WHERE 
  l.layout_id = 1928 
  AND l.dispatch IN ('products.view') 
  AND (
    FIND_IN_SET(339790, l.object_ids) 
    OR l.object_ids = ''
  ) 
ORDER BY 
  l.object_ids desc 
LIMIT 
  1

Query time 0.06221

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "9384.88"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "l",
            "access_type": "ALL",
            "rows_examined_per_scan": 43207,
            "rows_produced_per_join": 432,
            "filtered": "1.00",
            "cost_info": {
              "read_cost": "8779.99",
              "eval_cost": "86.41",
              "prefix_cost": "8866.40",
              "data_read_per_join": "97K"
            },
            "used_columns": [
              "location_id",
              "dispatch",
              "is_default",
              "layout_id",
              "object_ids",
              "custom_html",
              "position"
            ],
            "attached_condition": "((`webmarco`.`l`.`layout_id` = 1928) and (`webmarco`.`l`.`dispatch` = 'products.view') and (find_in_set(339790,`webmarco`.`l`.`object_ids`) or (`webmarco`.`l`.`object_ids` = '')))"
          }
        },
        {
          "table": {
            "table_name": "d",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "location_id",
              "lang_code"
            ],
            "key_length": "10",
            "ref": [
              "webmarco.l.location_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 432,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "432.07",
              "eval_cost": "86.41",
              "prefix_cost": "9384.88",
              "data_read_per_join": "101K"
            },
            "used_columns": [
              "location_id",
              "lang_code",
              "name",
              "title",
              "meta_description",
              "meta_keywords"
            ],
            "attached_condition": "<if>(is_not_null_compl(d), (`webmarco`.`d`.`location_id` = `webmarco`.`l`.`location_id`), true)"
          }
        }
      ]
    }
  }
}

Result

location_id dispatch is_default layout_id object_ids custom_html position lang_code name title meta_description meta_keywords
56076 products.view 0 1928 <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PD7Q7MKH');</script> <!-- End Google Tag Manager --> 30 en Products WebMarco - Online Shopping