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 = 'ru' 
WHERE 
  l.layout_id = 2 
  AND l.dispatch IN ('products.view') 
  AND (
    FIND_IN_SET(349, l.object_ids) 
    OR l.object_ids = ''
  ) 
ORDER BY 
  l.object_ids desc 
LIMIT 
  1

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "l.object_ids desc",
        "table": {
          "table_name": "l",
          "access_type": "ALL",
          "rows": 123,
          "filtered": 100,
          "attached_condition": "l.layout_id = 2 and l.dispatch = 'products.view' and (find_in_set(349,l.object_ids) or l.object_ids = '')"
        }
      }
    },
    "table": {
      "table_name": "d",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "10",
      "used_key_parts": ["location_id", "lang_code"],
      "ref": ["noframes_kz_new.l.location_id", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(d.location_id = l.location_id and d.lang_code = 'ru')"
    }
  }
}

Result

location_id dispatch is_default layout_id object_ids custom_html position lang_code name title meta_description meta_keywords
185 products.view 0 2 311,353,445,446,448,449,450,1512,1514,1515,1516,1517,1518,1519,1536,1537,1540,1545,1546,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1744,1768,1769,1770,2082,2092,2093,2094,2302,2303,2304,2305,2314,2320,2324,2328,2329,2335,2336,2337,2338,2339,2340,2341,2342,2344,2345,2346,2347,2348,2349,2350,2351,2352,2389,2390,2391,2392,2393,2394,2395,2396,2397,2398,2399,2400,2401,2402,2403,2404,2405,2406,2407,2408,2409,2410,2411,2541,2542,2543,2596,2597,2615,2616,348,349,351,352,354,355,356,358,360,361,362,363,366,369,371,1489,2762,2763,2764,2765,2766,2767,2768,2769,2770,2771,2772,2775,2776,2777,2778,2779,2780,2781,2782,2783,2784,2785,2786 440 ru Ковры Ковры