SELECT 
  *, 
  cscart_seo_names.name as seo_name, 
  cscart_seo_names.path as seo_path, 
  IFNULL(
    ab__emd_cp.category_pattern_id, 
    0
  ) as ab__emd__category_pattern_id, 
  IFNULL(
    ab__emd_cp.products_pattern_id, 
    0
  ) as ab__emd__products_pattern_id 
FROM 
  cscart_categories 
  LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id 
  AND cscart_category_descriptions.lang_code = 'en' 
  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 3251 
  AND cscart_seo_names.type = 'c' 
  AND cscart_seo_names.dispatch = '' 
  AND cscart_seo_names.lang_code = 'en' 
  LEFT JOIN cscart_ab__emd_categories_patterns AS ab__emd_cp ON ab__emd_cp.category_id = cscart_categories.category_id 
WHERE 
  cscart_categories.category_id = 3251 
  AND (
    cscart_categories.usergroup_ids = '' 
    OR FIND_IN_SET(
      0, cscart_categories.usergroup_ids
    ) 
    OR FIND_IN_SET(
      1, cscart_categories.usergroup_ids
    )
  )

Query time 0.00225

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "0.72"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY",
            "c_status",
            "p_category_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "category_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.10",
            "prefix_cost": "0.00",
            "data_read_per_join": "3K"
          },
          "used_columns": [
            "category_id",
            "parent_id",
            "id_path",
            "level",
            "company_id",
            "usergroup_ids",
            "status",
            "product_count",
            "position",
            "timestamp",
            "is_op",
            "localization",
            "age_verification",
            "age_limit",
            "parent_age_verification",
            "parent_age_limit",
            "selected_views",
            "default_view",
            "product_details_view",
            "product_columns",
            "is_trash",
            "is_default",
            "category_type",
            "ab__lc_catalog_image_control",
            "ab__lc_landing",
            "ab__lc_subsubcategories",
            "ab__lc_menu_id",
            "ab__lc_how_to_use_menu",
            "ab__lc_inherit_control",
            "ebay_category",
            "ab__fn_category_status",
            "ab__fn_label_color",
            "ab__fn_label_background",
            "ab__fn_use_origin_image",
            "staff_notes",
            "category_code",
            "storefront_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_category_descriptions",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "category_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.00",
            "eval_cost": "0.10",
            "prefix_cost": "0.00",
            "data_read_per_join": "6K"
          },
          "used_columns": [
            "category_id",
            "lang_code",
            "category",
            "description",
            "meta_keywords",
            "meta_description",
            "page_title",
            "age_warning_message",
            "mega_m_category_banner_url",
            "mega_m_category_svg_icon",
            "ab__custom_category_h1",
            "ab__fn_label_text",
            "ab__fn_label_show",
            "custom_header",
            "ab__emd_alternative_name"
          ]
        }
      },
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "dispatch"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "object_id",
            "type",
            "dispatch",
            "lang_code"
          ],
          "key_length": "206",
          "ref": [
            "const",
            "const",
            "const",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.27",
            "eval_cost": "0.10",
            "prefix_cost": "0.37",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "name",
            "object_id",
            "company_id",
            "type",
            "dispatch",
            "path",
            "lang_code"
          ]
        }
      },
      {
        "table": {
          "table_name": "ab__emd_cp",
          "access_type": "const",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "category_id"
          ],
          "key_length": "3",
          "ref": [
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 1,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "0.25",
            "eval_cost": "0.10",
            "prefix_cost": "0.72",
            "data_read_per_join": "16"
          },
          "used_columns": [
            "category_id",
            "category_pattern_id",
            "products_pattern_id"
          ]
        }
      }
    ]
  }
}

Result

category_id parent_id id_path level company_id usergroup_ids status product_count position timestamp is_op localization age_verification age_limit parent_age_verification parent_age_limit selected_views default_view product_details_view product_columns is_trash is_default category_type ab__lc_catalog_image_control ab__lc_landing ab__lc_subsubcategories ab__lc_menu_id ab__lc_how_to_use_menu ab__lc_inherit_control ebay_category ab__fn_category_status ab__fn_label_color ab__fn_label_background ab__fn_use_origin_image staff_notes category_code storefront_id lang_code category description meta_keywords meta_description page_title age_warning_message mega_m_category_banner_url mega_m_category_svg_icon ab__custom_category_h1 ab__fn_label_text ab__fn_label_show custom_header ab__emd_alternative_name name object_id type dispatch path category_pattern_id products_pattern_id seo_name seo_path ab__emd__category_pattern_id ab__emd__products_pattern_id
3251 3252 3252/3251 2 0 0 A 366 5 1555275600 N N 0 N 0 default_template 0 N N C top N 0 0 P N Y #ffffff #333333 Y EY17-R5LQ-C 0 en Solar Accessories Buy Solar Accessories Online at best price in India. Huge range of Solar Accessories Online at Stock2cart.com. Wholesale Price with Free Shipping and COD. Find here online price details of companies selling Solar Accessories. Get info of suppliers, manufacturers, exporters, traders of Solar Accessories for buying in India Solar Accessories, manufacturers, suppliers, exporters, traders, dealers, manufacturing companies, retailers, producers, Solar & Renewable Energy Products India, Solar Accessories, ABB Make AC MCB, Eaton make DC MCB 500V DP, Feeo C32 800 V DC MCB, Eaton M Buy Solar Accessories Online at best price in India. Huge range of Solar Accessories Online at Stock2cart.com. Wholesale Price with Free Shipping and COD. Find here online price details of companies selling Solar Accessories. Get info of suppliers, manufa Solar Accessories - Buy Solar Accessories Online in India at Best Price Y Buy Solar Accessories at Stock2cart.com solar-accessories 3251 c 3252 0 0 solar-accessories 3252 0 0