SELECT 
  1 
FROM 
  cscart_aprilec_print_temp_designs 
WHERE 
  session_id = '4G4U-FDMC-J4Z1-BK7Q-P7LG-I5WA-QRRL-O8JX' 
  AND product_id = 231 
  AND expires_at > 1777906285 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00038

JSON explain

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