SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'AHMN-1JH0-LX6B-ZS6E-ZVTV-KS9A-C59H-0DT2' 
  AND product_id = 172 
  AND expires_at > 1777112581 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00025

JSON explain

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