SELECT 
  * 
FROM 
  cscart_ble_product_details 
WHERE 
  detail_id IN ('1778') 
  OR type = 'G' 
ORDER BY 
  position, 
  title ASC

Query time 0.00124

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_ble_product_details.position, cscart_ble_product_details.title",
        "table": {
          "table_name": "cscart_ble_product_details",
          "access_type": "ALL",
          "possible_keys": ["PRIMARY"],
          "rows": 3239,
          "filtered": 100,
          "attached_condition": "cscart_ble_product_details.detail_id = '1778' or cscart_ble_product_details.`type` = 'G'"
        }
      }
    }
  }
}

Result

detail_id position title type status extra_details disabled_on
1778 0 Dimensions L A
1 8 Lead Times & Returns G A Lead Time: Standard lead time is 8-10 weeks. Products utilizing natural metals, including brass and copper, may take an additional 3-4 weeks to manufacture beyond the standard lead time. PLEASE NOTE: Due to current supply chain challenges and additional factors beyond Barn Light Electric's control, lead times may be longer than customary. Please contact our Customer Care Team if you have any questions or concerns regarding your order(s) at 321-269-2299. We apologize for this inconvenience and appreciate your extended patience. [61329]
2 10 Finish Care & Maintenance G A No metal fixture, no matter the finish, is guaranteed against corrosion especially in salt air environments. If your fixture is installed in a location near salt water, we recommend cleaning it frequently. If your fixture is not installed in a location near salt water, we recommend periodic cleaning with a mild soap-and-water wash and gentle buffing to extend the life of our painted finishes. []