SELECT 
  1 
FROM 
  cscart_june_setupec_print_temp_designs 
WHERE 
  session_id = 'M96Y-4N9H-QZ5D-PA5P-BRU1-X79V-T0VR-M2DN' 
  AND product_id = 238 
  AND expires_at > 1781897771 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}