SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '21MU-83AH-6L6D-LPVQ-YPL3-K1YQ-MA0Y-0S9W' 
  AND product_id = 18 
  AND expires_at > 1770186797 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00052

JSON explain

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