SELECT 
  cscart_seo_names.object_id AS product_id, 
  cscart_seo_names.name AS seo_name, 
  cscart_seo_names.path AS seo_path 
FROM 
  cscart_seo_names 
WHERE 
  cscart_seo_names.object_id IN (
    48540, 48224, 48279, 48541, 48225, 48230
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00187

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "rows": 6,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (48540,48224,48279,48541,48225,48230) and cscart_seo_names.`type` = 'p' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'vi'"
        }
      }
    ]
  }
}

Result

product_id seo_name seo_path
48224 nu-go-khoi-thom-tram-huong-quang-nam-cao-cap-healiverse 103/184
48225 nu-go-khoi-thom-hoang-dan-tuyet-lang-son-cao-cap-healiverse 103/184
48230 thanh-go-trac-xanh-go-thanh-cao-cap-healiverse 103/184
48279 nu-go-khoi-thom-ngoc-am-ha-giang-cao-cap-healiverse 103/184
48540 nen-thom-sap-ong-campfire-cao-cap-nen-thom-thu-gian-tri-lieu-bang-mui-huong-nen-thom-sap-ong-bo-suu-tap-nen-thom-sap-ong-bee-calm-huong-thom-am-ap-chua-lanh-qua-tang 101/169
48541 nen-thom-tinh-dau-nuoc-hoa-deep-breath-cao-cap-nen-thom-thu-gian-tri-lieu-bang-mui-huong-nen-thom-sap-ong-bo-suu-tap-nen-thom-sap-ong-bee-calm-huong-thom-am-ap-chua-lanh-qua-tang 101/169