SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'B5FY-VMF0-SK4W-8LPZ-WWS5-I7OG-GDNN-O33B' 
  AND product_id = 227 
  AND expires_at > 1777592014 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00043

JSON explain

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