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, 366970, 366974, 389621, 389620, 
    389623, 389624, 389622, 389626, 389627, 
    389625, 366969, 366973, 282478, 282479, 
    391683, 308674, 308677, 392154, 308679
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00128

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.03"
    },
    "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": 20,
      "rows_produced_per_join": 20,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "24.03",
        "eval_cost": "4.00",
        "prefix_cost": "28.03",
        "data_read_per_join": "33K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`webmarco`.`cscart_seo_names`.`object_id` in (366971,366970,366974,389621,389620,389623,389624,389622,389626,389627,389625,366969,366973,282478,282479,391683,308674,308677,392154,308679)) 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
308674 konstruksione-shtepish-private 5291/5500
308677 konstruksione-spitalesh 5291/5500
308679 konstruksione-zyrash 5291/5500
366969 punime-llamarine 5291
366970 prodhim-dhe-montim-i-ulluqeve-metalike-pa-shkeputje 5291
366971 punime-tendash-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
392154 prodhim-dhe-tregtim-betoni 5291/5500