SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = 'OLVB-HI5B-V4AM-Z0TW-0CJK-G91R-12YJ-V5QJ' 
  AND product_id = 40 
  AND expires_at > 1777830138 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00050

JSON explain

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