SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    4801, 4788, 4813, 4799, 4779, 4776, 4820, 
    4780, 4784, 4797, 2651, 1938, 2099, 
    1978, 4753, 1858, 1862, 1882, 2398, 
    2038, 1987, 1970, 2711, 3748, 5137, 
    2030, 1942, 1856, 1870, 1859, 0
  )

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_feature_variants",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "rows": 31,
          "filtered": 100,
          "index_condition": "cscart_product_feature_variants.variant_id in (4801,4788,4813,4799,4779,4776,4820,4780,4784,4797,2651,1938,2099,1978,4753,1858,1862,1882,2398,2038,1987,1970,2711,3748,5137,2030,1942,1856,1870,1859,0)"
        }
      }
    ]
  }
}

Result

variant_id feature_id url color position abt__ut2_color_style abt__ut2_multicolor
1856 70 0 default
1858 69 0 default
1859 70 0 default
1862 69 0 default
1870 70 0 default
1882 69 0 default
1938 69 0 default
1942 70 0 default
1970 69 0 default
1978 69 0 default
1987 69 0 default
2030 70 0 default
2038 69 0 default
2099 69 0 default
2398 69 0 default
2651 69 0 default
2711 69 0 default
3748 69 0 default
4753 69 0 default
4776 155 #ffffff 200 default
4779 155 #ffffff 150 default
4780 155 #ffffff 250 default
4784 155 #ffffff 500 default
4788 155 #ffffff 70 default
4797 155 #ffffff 1000 default
4799 155 #ffffff 125 default
4801 155 #ffffff 60 default
4813 155 #ffffff 120 default
4820 155 #ffffff 240 default
5137 69 0 default