SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'C1OB-CE9S-4WMX-HYEZ-QLFC-3QTL-ZS40-EPLP' 
  AND product_id = 50 
  AND expires_at > 1770539212 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00044

JSON explain

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