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 (
    366971, 366972, 366970, 366974, 389621, 
    389620, 389623, 389624, 389622, 389626, 
    389627, 389625, 366969, 366973, 282478, 
    282479, 391683, 308674, 308677, 392154, 
    308679, 435215, 392152, 435214, 392156, 
    308675, 392155, 308680, 308678, 392157, 
    308673, 392158, 308676, 392153
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00329

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "47.64"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "dispatch"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code"
      ],
      "key_length": "206",
      "rows_examined_per_scan": 34,
      "rows_produced_per_join": 34,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "40.84",
        "eval_cost": "6.80",
        "prefix_cost": "47.64",
        "data_read_per_join": "57K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`webmarco`.`cscart_seo_names`.`object_id` in (366971,366972,366970,366974,389621,389620,389623,389624,389622,389626,389627,389625,366969,366973,282478,282479,391683,308674,308677,392154,308679,435215,392152,435214,392156,308675,392155,308680,308678,392157,308673,392158,308676,392153)) and (`webmarco`.`cscart_seo_names`.`type` = 'p') and (`webmarco`.`cscart_seo_names`.`dispatch` = '') and (`webmarco`.`cscart_seo_names`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id seo_name seo_path
282478 instalim 5291/5500
282479 konfigurim 5291/5500
308673 konstruksione-apartamentesh 5291/5500
308674 konstruksione-shtepish-private 5291/5500
308675 konstruksione-ndertesash 5291/5500
308676 konstruksione-shkollash 5291/5500
308677 konstruksione-spitalesh 5291/5500
308678 konstruksione-fabrikash 5291/5500
308679 konstruksione-zyrash 5291/5500
308680 projekte-infrastrukturore 5291/5500
366969 punime-llamarine 5291
366970 prodhim-dhe-montim-i-ulluqeve-metalike-pa-shkeputje 5291
366971 punime-tendash-druri 5291
366972 punime-catish-druri 5291
366973 punime-catie-me-konstruksione-metalike 5291
366974 punime-catie-me-panel-sandwich 5291
389620 prodhim-dhe-montim-i-konstruksioneve-metalike 5291/5500
389621 ndarje-kati 5291/5500
389622 punime-kangjellash 5291/5500
389623 prodhim-dhe-montim-te-mbikalimeve-dyer-dhe-porta-metalike-rrethime-objektesh-me-kangjella-etj 5291/5500
389624 prodhim-dhe-montim-te-shtyllave-te-tensionit-te-larte 5291/5500
389625 prodhim-dhe-montim-te-kapanove-industriale-prej-celiku-magazinave-te-ndryshme-dhe-objekteve-industriale 5291/5500
389626 prodhim-te-centinave-metalike-qe-perdoren-ne-tunele 5291/5500
389627 fasada 5291/5500
391683 punime-mermeri-graniti 5291/5500
392152 grumbullim-perpunim-tregtim-te-skrapit-hekurit 5291/5500
392153 aktivitete-ne-fushen-e-ndertimit 5291/5500
392154 prodhim-dhe-tregtim-betoni 5291/5500
392155 prodhim-dhe-tregtim-te-materialeve-te-ndertimit 5291/5500
392156 ndertime-rruge-kategoria-v-dhe-vi-veshje-rrugesh-me-asfalto-beton-ndertim-mbishtrese-ndertim-te-veprave-te-artit-te-ndryshme-ujesjellesa-dhe-kanalizime-e-te-tjera. 5291/5500
392157 .ndertimin-e-veprave-publike-ndertime-civile-ekonomike-dhe-industriale 5291/5500
392158 tregtim-me-shumice-dhe-pakice-ne-import-dhe-eksport-te-mallrave-te-ndryshme-industriale 5291/5500
435214 spango-bujqesore-f.saraci 5291/5371
435215 shkundese-ulliri 6328/10437/10446