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 = 78 
  AND l.dispatch IN ('categories.view') 
  AND (
    FIND_IN_SET(4957, l.object_ids) 
    OR l.object_ids = ''
  ) 
ORDER BY 
  l.object_ids desc 
LIMIT 
  1

Query time 0.00276

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "201.30"
    },
    "ordering_operation": {
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "l",
            "access_type": "ALL",
            "rows_examined_per_scan": 1874,
            "rows_produced_per_join": 18,
            "filtered": "1.00",
            "cost_info": {
              "read_cost": "192.87",
              "eval_cost": "1.87",
              "prefix_cost": "194.75",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "location_id",
              "dispatch",
              "is_default",
              "layout_id",
              "object_ids",
              "custom_html",
              "position"
            ],
            "attached_condition": "((`s2cart`.`l`.`layout_id` = 78) and (`s2cart`.`l`.`dispatch` = 'categories.view') and ((0 <> find_in_set(4957,`s2cart`.`l`.`object_ids`)) or (`s2cart`.`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": [
              "s2cart.l.location_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 18,
            "filtered": "100.00",
            "index_condition": "<if>(is_not_null_compl(d), (`s2cart`.`d`.`location_id` = `s2cart`.`l`.`location_id`), true)",
            "cost_info": {
              "read_cost": "4.69",
              "eval_cost": "1.87",
              "prefix_cost": "201.31",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "location_id",
              "lang_code",
              "name",
              "title",
              "meta_description",
              "meta_keywords"
            ]
          }
        }
      ]
    }
  }
}

Result

location_id dispatch is_default layout_id object_ids custom_html position lang_code name title meta_description meta_keywords
1579 categories.view 0 78 40 en Categories